.organization {
  overflow: hidden;
  background-color: @bg-color;

  &-nav {
    height: 2.25rem;
    line-height: 2.25rem;
    border-bottom: 1px solid #f0f0f0;

    > div {
      height: 2.25rem;
      font-size: 1rem;
      color: #707479;
      line-height: 1.25rem;
      font-weight: 400;
      cursor: pointer;
    }

    > div + div {
      margin-left: 1.875rem;
    }

    .active {
      color: @primary-color;
      font-weight: bold;
      border-bottom: 2px solid @primary-color;
    }
  }

  &-content {
    padding-top: 1.25rem;
    height: calc(100% - 2.25rem);
  }

  .contion {
    display: flex;
    justify-content: space-between;

    .right {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 1.25rem;
    }
  }

  .search {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    // margin-left: 0.75rem;
    width: 2.875rem;
    border-radius: 0.125rem;
    vertical-align: middle;
  }

  .refresh {
    // margin-left: 0.75rem;
    margin-right: 0.25rem;
    width: 2rem;
    height: 2rem;
    border-radius: 0.125rem;
    vertical-align: middle;
  }

  .add-parent-button {
    width: auto;
  }
}

:deep(.ant-spin-nested-loading) {
  overflow-y: auto !important;
  height: calc(100% - 5.75rem);
}
